

{include file="head.tpl"}

{@result["a"]} 

{@dir_template}  


{foreach @result1 as $val}
    {"<br/>"}{$val["name"]}
    {foreach $val["log"] as $k => $v}
        {if $k == 0}
            {$k}:{$v["date"]}
        {else if $k == 2}
            {"-|-|-"}
            {continue}
            {"---"}
        {/if}
    {/foreach}
{/foreach}


{for $i=@min; $i<@data; $i++}
    {$i}
{/for}


{php}
$a = 100;
echo $a;
foreach(@result1 as $val) {
    echo $val . '___';
}
{/php}


{while @min < 20}
    {@min++}{'++'}
{/while}


{do while}
    {$a--}{'=='}
{/do while $a>10}





{if @result["a"] && @result["b"]}
    {"ok"}
{/if}


aaa@123.com22


<?php 

echo @result["b"] 

?>


{literal}
    <a href="#">{@result["a"]}</a> | <a href="#">{@result["b"]}</a>
{/literal}


{@result["c"]}


{literal}
    {@result["a"]}
{/literal}

<script>
    function aaa() {
        alert('{@result["a"]}');
        alert('aaa@123.com');
    }
    aaa();
</script>



</body>
</html>